package org.grayrabbit.cloud.core.telnet;

public interface TelnetServiceConstants {
	public static final int CHAR_TAB = 9;
	public static final int CHAR_ESC = 27;
	public static final byte TELNET_OPTION_ECHO = 1;
	public static final byte TELNET_OPTION_SUPRESSGOAHEAD = 3;
	public static final byte TELNET_OPTION_TERMINAL_TYPE = 24;
	public static final byte TELNET_OPTION_WINDOWSIZE = 31;
	public static final byte TELNET_OPTION_TOGGLEFLOWCONTROL = 33;
	public static final byte TELNET_OPTION_LINEMODE = 34;
	public static final byte TELNET_OPTION_LINEMODE_MODE = 1;
	public static final byte TELNET_OPTION_LINEMODE_FORWARDMASK = 2;
	public static final int TELNET_SE = 240;
	public static final int TELNET_AYT = 246;
	public static final int TELNET_GA = 249;
	public static final int TELNET_SB = 250;
	public static final int TELNET_WILL = 251;
	public static final int TELNET_DO = 252;
	public static final int TELNET_WONT = 253;
	public static final int TELNET_DONT = 254;
	public static final int TELNET_IAC = 255;
	public static final byte[] TELNET_SEQUENCE_GOAHEAD = { -1, -7 };

	public static final String[] TELNET_OPTION_NAMES = TelnetUtilities
			.getTelnetOptionNames();

	public static final String dos = new String(
			new byte[] { 0, 33, 34, 31, 24 });
}
